home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of Shareware
/
Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso
/
mac
/
ZIPPED
/
DOS
/
UTILITY
/
PCOPY93.ZIP
/
PCOPY93.EXE
/
PCOPY.DOC
< prev
next >
Wrap
Text File
|
1993-09-07
|
105KB
|
2,319 lines
P C O P Y
By Patri-Soft
(tm) ┌─────────┐
┌─────┴───┐ │ MEMBER
───│ │ │────────────────
│ ┌──────┴──┐ │ Association of
│ │ ├──┘ Shareware
└──┤ ■ │ Professionals
──────│ ║ │───────────────────
└────╨────┘
(909) 352-2820 (Voice)
(909) 352-2825 (Data)
(909) 352-1527 (Fax)
June 24, 1992
Copyright 1987, 1992 by Patri-Soft
Table of Contents
DISCLAIMER....................................................... 2
LICENSE.......................................................... 2
REGISTRATION..................................................... 3
INTRODUCTION TO PCOPY............................................ 5
THE PMOVE OPTION OF PCOPY........................................ 5
PCOPY FEATURES................................................... 6
A WORD ABOUT LAST ACCESS......................................... 7
ATTENTION DEVELOPERS:......................................... 8
PCOPY COMMAND AND PARAMETERS..................................... 9
/4 4DOS SUPPORT............................................ 10
/A COPY FILES WITH ARCHIVE SET............................. 10
/AD ASSUME TARGET SPECIFIED IS DIRECTORY.................... 10
/AF ASSUME TARGET SPECIFIED IS FILE......................... 10
/AP APPEND.................................................. 10
/AZ APPEND TEXT FILES REMOVING CTRL-Z CHARACTERS............ 10
/B BACKUP.................................................. 10
/BA BATCH PROCESSING........................................ 10
/BW BLACK AND WHITE......................................... 10
/CD: COMMAND PROCESSING...................................... 10
EXAMPLE OF /CD PARAMETER................................... 11
/CF: COMMAND FILE............................................ 11
/C2 /C3 /C2 OR /C3 TO USE DIFFERENT COLORS.................. 12
/D:[(]XXX PROCESS FILES BY DATE............................... 12
/D- DELETE ALL FILES ON TARGET DRIVE BEFORE STARTING COPY... 12
/D2 DELETE SECOND+ TARGET DISKETTE.......................... 12
/DC & DCA DIRECTORY COPY..................................... 13
/DD DIFFERENT DATE.......................................... 13
/DL COPY ONLY LAST NODE OF DIR.............................. 13
/DO DATE OR................................................. 13
/DR: MULTIPLE DRIVES......................................... 13
/DS DIRECTORY STRUCTURE..................................... 13
/DX DIRECTORY EXTENSIONS.................................... 13
/DY SYNCHRONIZE SOURCE AND TARGET DIRECTORY FILES. BEFORE CO 14
/E PROCESS FILES THAT EXIST................................ 14
/EQ END QUICK............................................... 14
/EX[:EXCNAME] EXCLUDE FILES................................... 14
/F:FILEFIRST. START WITH FILEFIRST........................... 16
/FI FILL EFFICIENTLY........................................ 16
/FL FORMAT LOW DENSITY...................................... 16
/FO FORMAT OFF.............................................. 16
/IFA:PATHNAME................................................. 16
/IFP:PATHNAME................................................. 17
/IZ IN ZIPS................................................. 17
/L:FILELAST................................................... 17
/LD LAST ACCESS DATE........................................ 17
/LG LOG ACTIVITIES.......................................... 17
/LP LAST ACCESS PROGRAM..................................... 18
/M MORE.................................................... 18
/ME MERGE................................................... 18
/MU MULTIPLE IN DISKS....................................... 18
/MO MULTIPLE OUT............................................ 18
/N NEW FILES............................................... 18
/NA NO ARCHIVE.............................................. 18
i
Table of Contents
/NP NO PAUSE................................................ 18
/NW NO WINDOWS.............................................. 18
/O:FILENAME-LIST OMIT......................................... 18
/P PAUSE BEFORE EACH FILE.................................. 19
/PX PROMPT BEFORE MOVE...................................... 19
/QA:X QUIT AFTER PROCESS X NUMBER OF FILES.................... 19
/R REPLACE................................................. 19
/RD RESET DATE.............................................. 19
/RE REGISTER THE PROGRAM.................................... 19
/RO READ ONLY............................................... 19
/RT RESET TARGET............................................ 19
/S SYSTEM.................................................. 19
/SA SAVE DUPLICATES......................................... 20
/SHX FILE SHARING OPTIONS................................... 20
/SP SPLIT FILES............................................. 20
SPLIT FILE PARAMETERS...................................... 20
/SS:NNN SOURCE FREESPACE...................................... 21
/ST:NNN TARGET FREESPACE...................................... 21
/SZ: SELECT FILES BY SIZE.................................... 21
/T TEST COMMAND............................................ 21
/TO TEST OVERRIDE........................................... 21
/T: SELECT FILES BY TIME.................................... 21
EXAMPLES OF /T:XXX PARAMETER............................... 21
/TF TEST FIRST.............................................. 22
/U UPDATE FILES............................................ 22
/V VERIFY.................................................. 22
/VL VOLUME LABEL............................................ 22
/WH WHY NOT COPIED.......................................... 22
/WT WAIT FOR DISK MOUNT..................................... 23
/X MOVE FILES.............................................. 23
PCOPY MENU OPERATION............................................. 24
PCOPY MENU (1 OF 3)........................................... 24
COPY PROFILE............................................... 24
THE SECOND MENU OF PCOPY OPTIONS.............................. 26
THE THIRD AND LAST PCOPY MENU................................. 27
WAYS TO USE PCOPY................................................ 29
FULL BACKUP................................................... 33
INCREMENTAL BACKUP (DAILY BACKUP)............................. 33
SITE LICENSING PLANS FOR ONE OR MORE PATRIQUIN UTILITIES:........ 38
REGISTRATION..................................................... 40
REGISTERED PCOPY 9.2 ORDER FORM.................................. 41
REPORTING PROBLEMS (PCOPY 9.2).................................. 43
ii
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 2
-----------------------------------------------------------------------
The program author and sole proprietor of Patri-Soft, Norman
Patriquin,is an active member of the Association of Shareware
Profes- sionals (ASP). The ASP wants to make sure that the
Shareware principle works for you. If you are unable to resolve a
Shareware related problem with an ASP member by contacting the
member directly, ASP may be able to help. The ASP Ombudsman can help
you resolve a dispute or problem with an ASP member, but does not
provide technical support for members' products. Please write to
the ASP Ombudsman at P.O. Box 5786, Bellevue, WA 98006 or send a
Compuserve message via MAIL to ASP Ombudsman 70007,3536.
DISCLAIMER
Patri-Soft hereby disclaims all warranties relating to this product,
whether express or implied, including without limitation any implied
warranties of merchantability or fitness for a particular purpose.
Patri-Soft cannot and will not be liable for any special,
incidental, consequential, indirect or similar damages due to loss
of data or any other reason, even if Patri-Soft or an authorized
Patri-Soft agent has been advised of the possibility of such
damages. In no event shall the liability for any damages ever
exceed the price paid for the license to use software, regardless of
the form and/or extent of the claim. The user of this program bears
all risk as to the quality and performance of the software.
LICENSE
PCOPY is a Shareware product. As such, it is made available to the
general computing public for evaluation. Users are licensed to
operate PCOPY on their personal computers for the purpose of test
and evaluation on a trial basis for a limited trial period. It is
not possible to reasonably define any definitive limits of a fair
and equitable time period for evaluation, therefore it is left to
the user's judgment and sense of fair play as to the time required
to make a decision as to its usefulness. If the user decides the
program is not of sufficient merit to warrant purchase through
registration with Patri-Soft, the program should be removed from
their personal computer. Otherwise, if the program is deemed useful
and is in regular use on the user's personal computer system,
registration with Patri-Soft is required.
Registered users are those users that elect to pay for PCOPY and
register by payment with Patri-Soft. By virtue of registration and
payment for the program, registered users are granted a license to
continue to utilize the program on their personal computer for as
long as they choose. This license authorizes the user to use the
program on any personal computer system he or she may own so long as
the program is operated on only one computer system at a time.
Site licenses for use of PCOPY on multiple computers are available
upon request at a reduced fee that is based upon the number of
single machines licensed for use.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 3
-----------------------------------------------------------------------
REGISTRATION
PCOPY is sole property of Patri-Soft Shareware products. The
Shareware version, and ONLY that version, may be freely copied and
transferred to individual parties for evaluation purposes. The
Shareware version, and ONLY that version, may be posted on Bulletin
Board Systems (BBS) for electronic access as long as NO FEE is
charged for its distribution except for private BBS operations that
charge a regular user subscrip- tion fee. Computer information
services such as Compuserve (CIS), Genie, etc., are authorized to
post this product for subscriber access. The Shareware version of
PCOPY may NOT be distributed on diskette by any disk
distributor/vendor that charges more than $12.00 for the diskette
upon which the program and attendant files are recorded without
written consent from Patri-Soft.
PCOPY is a fully functional Shareware product. Shareware is a
computer program distribution/marketing method that permits
potential buyers to thoroughly try the program prior to purchase. It
is NOT free and it is not in the Public Domain. If, after
evaluating the program, you find it to be useful enough to use on a
regular basis, you are expected to pay for it by registering with
Patri-Soft. The registration fee is $20.00 and the registered
version, which is NOT distributed as Shareware, will not contain the
opening Shareware screen nor the closing messages.
You may register PCOPY in one of five ways:
1) By mail with check/money order/credit card (Visa/Mastercard only)
to: Patri-Soft, 5225 Canyon Crest Dr., Suite 71-358, Riverside,
CA 92507
CALIFORNIA RESIDENTS MUST INCLUDE 7.75% STATE SALES TAX!
2) You may call Patri-Soft (909-352-2825 1200/14400, 24 hours a day)
and order online using your credit card.
3) VISA/Mastercard orders are also accepted through telephone orders.
Call Public Software Library: 800-242-4775 or 713-665-7017 to
order.
4) FAX your order to us at (909) 352-1527, using your credit card
5) Register with the CompuServe Shareware forum. GO SWREG
The Patri-Soft Shareware Products BBS operates 24 hours per day, 7
days per week, open to all callers. For extended access, MUST log on
and leave a comment to the sysop to the effect that you are a
registered user and desire access. The author can also be reached
on CIS via PPN 76347,2477 (please use MAIL).
The Shareware version of PCOPY may be freely copied and passed on to
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 4
-----------------------------------------------------------------------
other individual users for their evaluation. We support our
software. One of the great strengths of the Shareware concept is
the interaction between the program's authors and its users. Many of
the features contained in PCOPY are the result of user input. If you
have a problem evaluating this program or want to make a suggestion,
comment, or complaint, please contact us immediately. Even after
registering PCOPY, if you later determine that it is unsuitable for
your use, you may contact us for a refund. It is not necessary that
you be a registered user to contact us for technical support.
Technical support will be available through the U.S mail, telephone,
or the Patri-Soft BBS.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 5
-----------------------------------------------------------------------
INTRODUCTION TO PCOPY
P C O P Y
Copy and Move files intelligently and safely
with a variety of options...
P C O P Y
---------
PCOPY is an advanced replacement for the DOS COPY command, one of the
most used of the DOS commands. Unfortunately, the DOS COPY abilities
are very limited and are not sufficient for many disk maintenance
chores. PCOPY is similar to the DOS COPY command in that it copies
file data between disks and hard disk directories. In addition,
PCOPY provides intelligent file selection and processing options.
PCOPY options allow you to use a single PCOPY command to perform a
function that would require many complex DOS COPY commands.
PCOPY also provides a safer way to copy files than that provided by
the DOS COPY command. It allows you to copy only newer files or
update a directory with the contents of another. PCOPY will never
allow you to overlay a file unknowingly.
PCOPY allows you to specify standard DOS wildcard pathnames in the
source file specifications, and standard pathnames for the target
directory specification.
PCOPY attempts to anticipate your needs and then help you accomplish
your intent. For instance, if PCOPY determines that the target
directory name does not exist, it will ask you if it is to be created.
If you respond <YES>, PCOPY will create the directory. With the /SAve
option, if you are about to overlay a file with another file with the
same name, you will be asked if the older duplicate file is to be
renamed with a version number.
The PMOVE Option of PCOPY
-------------------------
PMOVE is an option of the PCOPY command you can use to move files
between disks and directories on disks. PMOVE combines the functions of
DOS COPY and DELETE commands to simplify the moving of files. In
addition to just moving files, PMOVE also allows you to specify
selection criteria to better qualify the files to be moved.
PMOVE automatically determines the environment in which the move is
requested and determines if the data must be physically moved or if it
can be moved by simply renaming it. The file will be moved by renaming
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 6
-----------------------------------------------------------------------
it if the move is to another directory on the same disk device. This is
much faster than physically moving the file. In addition, it reduces
free space fragmentation, and allows you to move very large files
between directories when they could not otherwise be moved with DOS COPY
because of insufficient space.
The only difference between PCOPY and PMOVE is that PMOVE removes the
file from the source location after it has been successfully copied to
the target location.
PMOVE is implemented as a .BAT file that invokes PCOPY with the /X
parameter.
PCOPY Features
-------------
* Supports Patri-Soft's Last Access program. See LACCESS.INF |
for details! |
* Copies files to and from any disk or directory.
* Allows you to save older versions of files with new names
before replacing them.
* Moves files by copying them or renaming them to the new
location.
* Deletes the original file if /X is specified.
* Creates target directories if needed.
* Makes sure the DOS archive flag is set correctly for each file
as it is moved.
* Preserves the DOS date and time for each file moved.
* Allows you to pause processing at any time by pressing any
keyboard key. Once stopped, the program can be terminated by
pressing <ESC>.
* Provides file selection and processing control options to
tailor the move process to your own needs.
* Allows commands to be tested so you may be sure that commands
are specified as you desire.
* Copies updated files to a special disk or directory.
* If there is not sufficient space on the current target disk,
PCOPY allows you to place another disk in the drive and
continue processing. This lets you copy groups of files
larger than disk size to other computers.
* Start with a specific file in a directory.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 7
-----------------------------------------------------------------------
* End with a specific file in a directory.
* Process files based on the date stored in the directory entry.
* Warns you before overlaying a file unless specific parameters
indicating otherwise are specified.
* Checks target disk for available space before starting to copy
files. This saves time when the copy will not be able to
complete.
* Gives you constant status of the progress of the command.
* Runs with windows or using standard DOS screen output.
* Format new floppy disks as they are needed by pressing <F3> at
any prompt.
* Process one directory, a single directory subtree or all
directories on a disk (/S).
* Allows you to indicate that multiple input disks are to be
used and prompts for the next one after each disk is
processed.
* Create a series of output disks filled efficiently with files
from the source location. DOS ERRORLEVEL set to indicate
error conditions. PCOPY may be used in .BAT files to copy
files and you may confirm results are good.
* Special wildcard matching allows you to select all files with
specific text in filename.
A Word About Last Access |
------------------------ |
|
Last Access is an exciting new program just released from |
Patri-Soft! If you have ever wondered exactly what files you use |
and what files you do not use, then Last Access is for you! Last |
Access is a tiny TSR (2k) that monitors all file accesses, whether |
you change the file, or even just look at it. Then, using our |
special directory scanner, you can view when files were last |
accessed, and by what program. Last Access support has been added |
to Patri-Soft's PCOPY and is soon to be added to Stowaway. With |
the knowledge of when files were last accessed, you can: |
|
* Eliminate files that are unused on your system |
|
* Determine if a software package uses all the files |
provided with it. If it does not, you are free to delete |
them. |
|
* Manage your office machines. If a program is not used |
within 30 days, chances are it is not being used at all. |
|
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 8
-----------------------------------------------------------------------
Patri-Soft plans to incorporate Last Access in all our products to |
help you better manage your systems. |
|
Attention Developers: |
--------------------- |
|
If you would like to support Last Access in your application, |
purchase a Last Access Developer's Kit! The Developer's Kit is |
$99 and includes source code and technical information. Call |
Patri-Soft for more information. |
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 9
-----------------------------------------------------------------------
PCOPY Command and Parameters
----------------------------
PCOPY lets you to specify command parameters to qualify the copy
criteria. These parameters are optional. If no parameters are
specified, PCOPY performs in a manner similar to the DOS COPY command,
except that it prompts you before overlaying files. The command format
and parameters are described below.
PCOPY from_file [to_file] [(/ parameters)]
[from] Enter the DOS file specification for the directory and file names
to be moved. The filename portion of the file specification may
contain wildcard characters documented by DOS (* and ?).
You may also specify special pattern selection for text. For
example, *DISK*.* would select all files that have the characters
"DISK" anywhere in the first portion of the filename. *DI*S*K*.*
type specification also works.
You may optionally supply a file containing a list of input file
names. Create a file containing a filename or complete pathname
on each line. Specify the name of this file as the source
filename to PCOPY and add the "@" character before the name. The
list of files will be processed as if they were all specified on
the input command line.
For file list processing, PCOPY understands the output of the DOS
DIR command. You may use the DOS redirection feature to direct
DIR output to a file, edit the file to add or remove entries, and
then provide this to PCOPY as input. For example:
DIR A: >DIRLIST
(edit dirlist)
PCOPY @DIRLIST B:
[to] Enter the DOS file specification for the directory and filename
to be copied to. If the "to" specification is not entered, files
will be moved to the current directory.
If a single level name is supplied as the last part of the target
file specification, PCOPY will search for a directory that
matches the specified name. If it does not exist, PCOPY will
prompt you to determine if the name is a filename or a directory
name. To avoid this prompt, append the name with a \ if it is a
directory name, or a . to indicate it is a file name. For
example:
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 10
-----------------------------------------------------------------------
PCOPY *.* C:\DIRNAME\ PCOPY *.* C:\FILENAME.
/4 4DOS support.
PCOPY will copy and insert the appropriate 4DOS descriptions
when copying files.
/A Copy files with Archive set.
Selects only files that have been marked updated by DOS. This
flag is updated by DOS whenever a file is processed with an
intent to change or create new data.
/AD Assume target specified is Directory.
As above, except Assume Directory.
/AF Assume target specified is File.
This will suppress PCOPY's prompt if the target does not exist.
/AP APpend.
All source files selected will be concatenated and placed
together in a single output file. The output file will be
given the name of the first or only selected input file, or
the target filename specified.
If a target filename already exists when append is specified,
all source files copied will be appended to the target file.
To cause an already existing target file to be replaced by the
copied files, also specify the /R parameter.
To combine 3 files into one with /AP, use a command like the
following:
PCOPY FILE1,FILE2,FILE3 NEWFILE /AP/R
/AZ Append text files removing CTRL-Z characters.
Like /AP except ctrl-Z characters will be removed from the end
of all but the last file copied.
/B Backup.
When specified, the DOS ARCHIVE attribute is reset after a
file has been copied.
/BA BAtch processing.
Normally, PCOPY will pause if you press any key during
processing. This can interfere with programs that store
keystrokes in the keyboard buffer for subsequent activity. The
/BA parameter sets "no-windows" mode and disables the "key
press" check to leave stored keystrokes undisturbed.
/BW Black and white.
Forces PCOPY to use monochrome colors even when it detects a
color display environment.
/CD: CommanD processing
This parameter allows PCOPY to invoke any command of your choice
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 11
-----------------------------------------------------------------------
for each file PCOPY selects. With this parameter, PCOPY will not
copy your data. It simply becomes a file selection utility.
To use this parameter you must supply the command PCOPY is to
execute. To be compatible with DOS command line option
specifications, you must use special substitution characters to
build a command to your specifications. The following special
characters are used:
# Is replaced with the full pathname of the file to be
processed.
$ Is replaced with the filename of the file selected.
@ Is replaced with the target filename PCOPY would have copied
the file to, if the COPY operation was active.
[ Is replaced with a single space character.
] Is replaced with a backslash character (\).
} Is replaced with a slash (/) character. This must be used to
allow a command to include / parameters, since PCOPY will
interpret a slash as one of its own parameters.
Example of /CD Parameter
The following example shows how PCOPY can be used to drive an EDIT
command with variable parameters:
PCOPY *.c/d:)1jan89/cd:EDIT[#[}F[}pf:]log
Assuming file C:\COMP\TEST.C was selected, the following command would
result:
EDIT C:\COMP\TEST.C /F /PF:\LOG
To execute the command, PCOPY invokes a second copy of the DOS command
processor. When the /CD parameter is used, PCOPY forces operation
without windows to eliminate screen flashing between commands.
/CF: Command File
This parameter alters the meaning of the /CD parameter. When
specified with a full DOS pathname (including the filename), it
causes PCOPY to write all generated commands to the specified
file. The commands will not be executed by PCOPY. This allows
you to generate a .BAT file that can be modified and executed at
a later time.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 12
-----------------------------------------------------------------------
For example, to generate commands and place them in batch file
DOIT.BAT.
PCOPY *.c/d:)1jan89/cd:EDIT[#[}F[}pf:]log /CF:DOIT.BAT
/C2 /C3 /C2 or /C3 to use different colors
when PCOPY is used with windows operation. To make this
color change permanent, specify the parameter in the DOS
environment variable.
/D:[(]xxx process files by Date
Related parameters: /LD
Select files based on their last update date. This parameter may
include a date or a number of days value, and optionally a
condition modifier that changes the use of the date or number of
days specified.
When xxx contains a valid date, the date is compared to the last
update date of the file, contained in its directory entry. The
file is selected if the condition specified by the condition
modifier is met. The condition modifier meanings are:
( File date is older than that specified.
) File date is newer than that specified.
= File date is equal to that specified.
If the condition modifier is not specified, ) is assumed.
Date values may be specified in any of the following formats:
MM/DD/YY MM-DD-YY DDMMMYY
12/31/80 12-31-80 31DEC80
If xxx contains a numeric value instead of a valid date, that
positive number is used to calculate a date value a number of
days prior to the current date. Then that date is used as in the
calculation above.
The /D: parameter may be specified twice to select files
between two dates (date ranges). /D:(1FEB90/D:)1MAR90
When two dates are specified, a file's date must qualify
selection based on both date parameters. Specify the /DO
parameter to indicate an OR condition between the dates. This
will allow any file meeting either date parameter to be selected
for processing.
/D- Delete all files on target drive before starting copy.
/D2 Delete second+ target diskette
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 13
-----------------------------------------------------------------------
Add files to those already on the first output disk. Then
delete all files from subsequent disks provided before copying
to them. Use /D2 when you want to append files to a set of
already existing disks. This parameter allows you to continue
backing up to a partially used disk and then reuse disks
containing old unwanted backup files.
/DC & DCA Directory copy.
PCOPY will create a duplicate directory on the output disk for
every directory processed on the source disk. Directories are
only created when files are to be copied to them. See also the
/S option. This is useful for copying all files and
directories from one disk to another.
Specify /DCA (Directory Copy-All) to copy all directories from
source to target drive, even when no files will be moved to the
new directory.
/DD Different Date. |
PCOPY will only copy files that have a different date than the |
files that exist. If the file does not exist, it will be |
copied. |
/DL Copy only last node of dir
Same as /DC except that only the last node of the source
directory is copied to the target pathname specified.
/DO Date Or
Specify when two /D: date parameters are used. Indicates
either date parameter may be met to qualify a file for
processing. See also the /D: parameter.
/DR: Multiple drives
Use to process multiple disk drives. /DR assumes the presence
of the /S parameter, which indicates to process all
directories on the source disks. If you are using PCOPY for
backup, this lets you process all disk drives with a single
command.
The following command will copy all modified files from hard
drives C:, D:, and E:, to the floppy disk in drive A:. The /D2
parameter will ensure each new output disk is cleared of all
files before it is written to.
PCOPY *.* A: /DR:CDE/A/D2
/DS Directory Structure
Same as /DC except that only the current or specified
directory level and all its subordinate levels, are copied to
the target directory. The target directory may contain a
pathname with multiple directory levels, so you can copy one
directory structure below another directory structure.
/DX Directory eXtensions
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 14
-----------------------------------------------------------------------
When target names are single level names with no extensions,
PCOPY will ask you if the name refers to a directory or to a
new file to be created. If you specify this parameter, PCOPY
assumes names without extensions are new directory names.
/DY Synchronize source and target directory files. Before copying
the first file to any directory, PCOPY will determine if any
files exist in the target directory but not on the source
directory. If so, PCOPY will remove those files from the
target directory. Use this parameter when you want to update
one directory or disk to be exactly like another.
IMPORTANT!!
PCOPY has the ability to synchronize an entire drive by
traversing the directories, deleting directory trees and files
that are on the target but not the source. This feature is
utilitied by a careful combination of switches. Relevant
switches are /S, /DC, and /U. Situations vary, so we have
forced the /TF (Test First) on PCOPY when you use /DY. To
override this Test, use the /TO paramter. BE SURE THE TEST
PRODUCES THE DESIRED RESULTS BEFORE DOING IT FOR REAL! If you
have any questions, or need a customized command line, feel
free to call the Patri-Soft technical support line, (909)
352-2820. To synchronize two drives: PCOPY C:\ D:\
/DY/S/DC To synchronize two directories: PCOPY C:\UT D:\UT /DY
To synchronize a drive and a target dir tree: PCOPY C:\
D:\BACKUP /S/DC/DY
/E Process files that Exist
in both the source and target directories. This allows you to
replace all duplicate named files.
/EQ End Quick
Designed for batch file operation. Use this parameter to
prevent PCOPY from requiring you to press a key to terminate
processing (Exit Quick).
Note: Previous versions of PCOPY supported this option using the
/EX. Parameter.
/EX[:EXCNAME] Exclude files
The exclude facility allows you to provide a list of pathname
and filename specifications that are to be excluded from PCOPY
processing. Since searching through data on your hard disk
requires extensive processing and disk read time, excluding
files from the process will save you time, and will reduce the
number of false matches displayed for your requests.
The exclude facility is implemented with two actions. First, you
will need to create an exclude specification file and place it
in the same directory where PCOPY is installed on your hard
disk. This file will contain the names of all the files and
paths to be excluded. Name the file PCOPY.EXC.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 15
-----------------------------------------------------------------------
You may specify DOS pattern names to exclude groups of files with
a single specification. Like DOS, use the '*' to indicate the
last part of a filename or filename extension may be any set of
characters. Also like DOS, use the '?' to indicate that any
single position of a filename may be any character.
In addition to DOS, two additional pattern features are
available. You may place an '*' anywhere in the filename to
indicate any set of characters may exist in this point in the
name. For pathnames, you may place an '**' at the end of a
directory path specification to indicate the specification
applies to the specified directory and all subordinate
directories. Using '**', you can exclude an entire path with a
single specification.
Following are examples:
1. *.EXE
2. *.COM
3. TEST*.*
4. *TEST*.*
5. DO?FIX.*
6. PC*XX.*
7. C:\DOS\*.*
8. \TEST\*.*
9. D:\GAMES**\*.*
Explanations for the above examples:
1. Excludes all filenames with the extension .EXE from
processing.
2. Excludes all filenames ending with extension .COM.
3. Excludes all filenames beginning with the letters "TEST"
from processing.
4. Excludes all filenames having the characters "TEST"
anywhere in the first portion of the filename.
5. Exclude files having 'DO' as the first 2 characters of
the filename, and 'FIX' as the 4th, 5th, and 6th
filename characters. The 3rd character of the filename
may be any character.
6. Exclude files having a name beginning with the 2
characters PC and where the first portion of the
filename ends with the characters 'XX'. Any 0 to 4
characters may exist between the 'PC' and 'XX' in the
first portion of the filename.
7. Exclude all files from the DOS directory on drive C:.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 16
-----------------------------------------------------------------------
8. Exclude all files from the TEST directory existing on
any drive searched.
9. Exclude all files from the D:\GAMES\ directory and also
exclude all files and directories subordinate to the GAMES
directory.
Activating exclude --
Exclude will only be functional when the /EX command
parameter is specified. When /EX is specified, you must have
a valid exclude file. PCOPY will not continue without one.
If you wish exclude to be active during all executions,
specify /EX as part of the PCOPY= DOS environment variable.
See later in the documentation for a description of this
feature.
You may use the /EX parameter with additional information. |
If desired, you can specify an alternate exclude filename |
for PCOPY to use. |
|
PCOPY *.* A: /EX Uses PCOPY.EXC for exclude information |
PCOPY *.* A: /EX:LOTUS Uses LOTUS for exclude information |
/F:fileFirst. Start with fileFirst
Do not start processing until the specified filename is
encountered in the source directory. This parameter is useful
for restarting a move or copy that has been terminated. You
may specify DOS pattern name characters * and ? to identify
the file to begin processing.
/FI Fill efficiently
Fill output disks as efficiently as possible. Normally files
are copied in the sequence in which they are found in the
source directory. If a large file cannot be copied onto the
output disk, a new disk is requested even though there may be
enough space left on the output disk to hold other smaller
files. The /FI parameter causes files to be copied in
descending size sequence. When the next file will not fit on
the output disk, PCOPY searches for another file that will fit
on the disk before requesting a new output disk. When a new
disk is placed in the drive, PCOPY begins processing the
larger files again. Eventually, all files requested will be
copied.
/FL Format Low density
PCOPY's automatic disk formatting senses the drive type and
will format the disk accordingly. If you want to format a low
density disk in a high density drive, use this parameter.
/FO Format Off.
This turns off PCOPY's automatic disk formatting/checking.
/IFA:pathname
Check to determine that the source file does not already exist in
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 17
-----------------------------------------------------------------------
an alternate directory before processing it. If it does not
exist, processing will continue. Use just like IFP specified
below.
/IFP:pathname
Determine if the source file to be copied already exists in the
pathname specified by IFP. If it does exist, process the file.
If it does not exist, skip the file. For example,
PCOPY *.BAT \newdir/IFP:\testdir
copies files from the current directory to \NEWDIR only if each
file already exists in \TESTDIR.
/IZ In Zips. |
PCOPY has now been expanded to be able to copy files within |
.ZIP files. With PCOPY's special .ZIP viewer, PCOPY will |
search all .ZIP files that it encounters for the filespec |
specified on the command line. If a file inside the .ZIP file |
matches the filespec specified, then PCOPY will unzip the file |
(using PKUNZIP) and perform the desired operation. PCOPY |
creates a PCOPY.TMP directory off of the root directory, and |
unzips the file there before copying. The file and directory |
are removed upon the completion of PCOPY operation. |
|
Note that the /DY parameter cannot be used with /IZ. All |
other parameters are acceptable. |
/L:fileLast.
Stop processing after the specified filename is encountered in
the scan of the directory. The file specified will be processed
if it matches selection criteria. You may specify DOS pattern
name characters * and ? to identify the file to begin processing.
/LD Last access Date. |
When used in conjunction with Patri-Soft's Last Access program, |
PCOPY can copy files according to the day the file was last |
accessed. This parameter is identical in use to the /D: |
parameter. Use to copy files that have been accessed before, |
after, or on a certain date. |
|
See LACCESS.INF for details on Last Access. |
|
Related parameters: /D, /LP |
/LG LoG activities.
PCOPY will create a disk log of all actions it takes. This is
useful if you are using PCOPY as a backup system. The log will
help you locate the disk on which a file has been backed up.
The log file will be named PCOPY.LOG. For DOS versions 3.0 or
later, the log will be created in the same directory from which
PCOPY is executed. Other DOS versions will put the log in the
current directory.
If the log does not exist, PCOPY will create it. If the log does
exist, PCOPY will add to it. To begin a new log, delete PCOPY.LOG
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 18
-----------------------------------------------------------------------
before running PCOPY.
/LP Last access Program. |
When Patri-Soft's Last Access program is used, PCOPY can copy |
files according to the program that last accessed the |
specified file. For example: |
|
PCOPY *.* B: /LP:WP |
|
PCOPY will process all files that were accessed by WP.EXE. |
|
See LACCESS.INF for details on Last Access! |
/M More.
Stop the screen from scrolling past the end without user
intervention.
/ME MErge.
Works like using /U and /X parameter to move the most current
files from one directory into another. In addition, it
deletes all the files that are not moved. This effectively
merges the most current files from two directories into a
single directory.
/MU MUltiple in disks.
Process multiple input disks. After the first input disk is
processed, PCOPY will prompt you for additional disks.
Indicate <Y> to process more disks or <N> to terminate
processing.
/MO Multiple Out. |
Normally, when PCOPY fills up a target disk, the user is |
requested to select an option to terminate, split, or input |
new disk. /MO assumes that the user wants to insert a new |
disk. |
/N New files.
Only move files that do not already exist on the target
directory. If the file already exists, do not move it.
/NA No Archive.
Only process files that do not have the DOS ARCHIVE attribute
set in the directory entry. With this parameter specified,
PCOPY will only process those files that have already been
backed up. Files not backed up will not be processed.
/NP No Pause.
Use when you have made the /P parameter the default action
with the SET PCOPY=/P command in the DOS environment, and want
to override it.
/NW No Windows.
PCOPY will not use windows during processing. All screen
output will be done through standard DOS facilities.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 19
-----------------------------------------------------------------------
/O:filename-list Omit
Specify a list of filename patterns that are to be omitted
(excluded) from PCOPY processing. If multiple filename
patterns are specified, separate them with commas. For
example:
/O:*.BAK,*.EXE,TEST*.*
/P Pause before each file
is moved and ask for approval to process it.
/PX Prompt before move.
/X moves the files without conformation. /PX will ask before
deleting the source files.
/QA:x Quit After process x number of files.
This can be useful if you only want to process a certain
number of files.
/R Replace
any duplicate files on the target disk or directory. PCOPY
will replace files regardless of file dates and times.
/RD Reset Date.
Normally PCOPY retains the original date and time of a file
when copying it. With /RD specified, the copied file will
have the current date.
/RE REgister the program.
Use this option to register your copy of the PCOPY utility.
You will need to have the registration number and code that is
sent to after you request registration.
When you specify this parameter, part of the registration screen
also allows you to modify the windows option permanently. If you
do not want windows during processing, use this option to change
the windows program option. You do not need to be registered to
change this information.
/RO Read Only.
PCOPY is just like DOS COPY when it encounters RO files. PCOPY
will copy the file, but does not copy the Read Only attribute.
Using /RO places the Read Only attribute on the target file.
/RT Reset Target.
When PCOPY copies a file, it is marked as needing backup.
Using /RT causes the target file to be marked as "backed up."
/S System.
If a source directory is supplied, that directory and all
subordinate directories will be processed. If no source
directory is specified, all directories on the disk will be
processed.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 20
-----------------------------------------------------------------------
/SA SAve duplicates.
Instead of overlaying already existing files with duplicate
names, PCOPY renames the file in the target directory with a
version number before the new file is copied. This ensures
that no data is lost. This facility can be used to save
successive versions of a file in a directory.
If the file has an extension name, the last two characters of the
extension are replaced with a number from 01 to 99, depending on
the next available number. PCOPY determines the next available
number by looking in the directory for other files with similar
names. /SF System Files. Normally, PCOPY skips files marked
with the DOS SYSTEM attribute. Using /SF causes SYSTEM files to
be selected for processing.
/SHx File sharing options.
/SHA Ignore file sharing and copy all files.
/SHR Allow files opened for read to be
copied.
/SHN Disallow all file sharing.
/SP Split files.
/SP indicates PCOPY is to split a file onto another disk if
there is insufficient room on the first disk.
/SP:nnn
Split a file nnn characters into the file. If disk space
permits, both parts of the split file will remain in the target
directory.
/SPL:nnn
Split a file at line number nnn. This can be useful for breaking
a file into parts for editing.
Split File Parameters
You may split a file into two or more parts with PCOPY. This is
useful for copying files larger than a diskette will hold, or for
dividing files into smaller parts for editing. PCOPY identifies
the file parts by replacing the second character of the file's
extension with a number. For example, PCOPY.EXE could be split
into PCOPY.E1E and PCOPY.E2E.
The time field of the first part of a split file holds the
replaced extension character. For this reason, PCOPY can only
automatically rejoin an unmodified split file. Just reference
the first part of the split file and the rest will be copied.
You may also rejoin files using DOS COPY or PCOPY explicit
commands on each part of a split file, as follows:
Rejoining Split File with DOS COPY:
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 21
-----------------------------------------------------------------------
COPY /B FILENM.E1E+FILENM+E2E FILENM.EXE
Rejoining Split File with PCOPY:
PCOPY A:\FILENM.E1E,A:\FILENM.E2E FILENM.EXE/SP
!! IMPORTANT! PCOPY cannot split files into more than NINE parts !!
/SS:nnn Source Freespace
Terminate processing when the source drive's freespace reaches
the value specified by the /SS parameter. Use when moving files
from one drive to another using the /X parameter. The command
PCOPY C:*.* D: /X/SS:1000000 will cause PCOPY to move files from
drive C: to drive D: until the freespace on source drive C: is
greater than or equal to 1,000,000 characters.
/ST:nnn Target freespace
Terminate processing when the target drive's freespace becomes
less than or equal to the value specified by the /ST: parameter.
The command PCOPY C:*.* d: /ST:500000 will cause PCOPY to copy
files to target drive D: until drive D: has less than or equal to
500,000 characters freespace.
/SZ: Select files by size
/SZ:[(] [)] nnn
Select a file based on its size. The ( indicates that files less
than the indicated size are to be selected. The ) indicates to
select files greater than the size. If neither is specified, (
is assumed.
/T Test command.
Test the command without actually updating any files. Issue
messages to indicate what will happen if the command is
executed without the /T parameter.
/TO Test override
When using the /DY parameter, PCOPY forces /TF. Use this to
override the test.
/T: Select files by time
/T:[(][)][=]xxx
Select files based on the relationship between their last
update time and the time specified in the command. The /T:
parameter may also contain an operator that reverses or modifies
the meaning of the time specified, just like the date parameter.
Examples of /T:xxx Parameter
1. Process files updated before 11:20 a.m.
/T:(11:20a or /T:(11:20
2. Process files updated before 11:20 p.m.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 22
-----------------------------------------------------------------------
/T:(11:20p or /T:(23:20 --> military
time
3. Process files updated after 11:20 p.m.
/T:)11:20p
4. Process files updated within 60 seconds after 11:21
p.m.
/T:=11:21p
5. Leading zeros in hour may be omitted.
/T:)1:20
/TF Test First.
Works similar to the /T parameter but after test processing is
complete, PCOPY will ask you if you want to execute the
command as if the /T parameter were not present. If you
respond <Y>, the command will be executed and files will
actually be processed.
/U Update files.
Only copy files that do not exist on the target directory or
duplicate filenames that are newer than their counterparts on
the target directory or disk. Specifying this option results
in the most current version of each selected file being in the
target directory.
/V Verify.
Use the DOS VERIFY option while copying data. This causes all
data to be reread after it is written to disk to ensure it was
written properly.
/VL Volume label |
PCOPY will verify that the target volume matches the desired |
volume name specified on the command line. If the volume |
name does not match, PCOPY will not copy any files until the |
proper volume has been mounted. |
/WH WHy not copied.
Indicate why files are not selected for processing. Normally
PCOPY will not show file names that are not selected for
processing. Specifying /WH will cause PCOPY to display a
message indicating why any file was not selected for
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 23
-----------------------------------------------------------------------
processing.
/WT Wait for disk mount.
Wait for disk to be mounted before beginning processing. This
parameter is intended primarily for systems with floppy disks.
Before beginning the copy process, PCOPY will ask you to place
the proper disks in the drives. This allows you to have PCOPY
on a different disk than the disks being processed.
/X Move files.
This parameter changes PCOPY's function to move files instead
of copying them. After the file is copied, it will be deleted
from the source location. If the file is moved is to another
directory on the same disk, the directory entry for the file
is updated, but the actual data is not moved. This provides
for the fastest move possible.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 24
-----------------------------------------------------------------------
PCOPY Menu Operation
--------------------
When you start PCOPY without command line specifications it displays a
menu for entering copy specifications. Three menus are available for
specification of options. You proceed forward and backwards through the
menus by pressing the <PgUp> and <PgDn> keys. Once you are completed
specifying options, press <F10> to start processing. Press <ESCape> at
any time to exit from PCOPY. If you need PCOPY help for batch
operation, press <F1>.
You may save a particular combination of menu specifications for use at
a later time by assigning copy profile names to them. PCOPY saves up to
four different copy profiles. To use these in a subsequent execution of
PCOPY, simply select one of the saved names from the menu. All options
on the menus will be set to reflect the contents of the saved profile
options.
Menu options are specified in one of two ways. First, you may be asked
to key specific parameter information into parameter fields. Second,
you select toggle options by positioning the highlight bars over options
specified and pressing the <Enter> key. PCOPY will only allow compatible
options to be specified, so turning on some options may automatically
deactivate others. You see this happen when watching highlighted
options.
Use the up and down arrow keys, or the tab keys, to move from option to
option. A short help line is provided at the bottom of the display to
assist you in understanding each option. It changes as you move the
cursor from option to option on the display.
PCOPY MENU (1 of 3)
-------------------
Copy Profile
------------
An area is provided for you to provide an optional copy profile
name to be associated with these parameters. Provide a 1-8
character name. The parameters specified for this process will
be saved and associated with this profile name.
To the right of the name field are names for up to four copy
profiles previously saved. To use the parameters of any one of
these profiles, press <1>, <2>, <3>, or <4>. The menu will
automatically change to reflect the saved specifications.
From Path
---------
Enter the file specification for files to be copied. The same
rules apply as for command line specifications. See that section
of this document for details. Following are examples:
C:\DIRNAME\*.EXE
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 25
-----------------------------------------------------------------------
\DIRNAME\*.EXE
\DIRname
*.exe
Drives
------
Enter additional drives to be searched for the path specification
in From Path above.
To Path
-------
Specify the target location where files are to be copied.
Following are examples:
C:
C:\DIRNAME
C:\DIRNAME\FILENAME
Process Options?
----------------
COPY MOVE TEST VERIFY WRITES
Highlight the MOVE or COPY action to take. TEST mode causes PCOPY
to execute without really copying data. Use TEST to check that
your parameters are correct (/TF ,/X, /V).
Multiple Directories?
---------------------
ENTIRE DISK ALL SUBORDINATE DIRECTORIES
Indicate what directories are to be read to find files to be
processed. SUBORDINATE DIRECTORIES indicates to read the current
directory and all of its subordinate directories to find files to
process (/S, /DS).
Directory Actions? CREATE NEW CREATE ALL
------------------ CREATE/ADD LASTNODE MERGE
SYNCHRONIZE
Specify actions to be taken at the directory level.
CREATE NEW -- Automatically create directories needed on
the output disk (/DC)
CREATE ALL -- Automatically create directories for every
directory read on the source disk (/DCA).
LASTNODE -- Use the last directory level from the
source disk, and append it to the directory
name on the target disk. This creates a
new directory structure under the target
directory specification (/DL).
MERGE -- Merge files from the source specification
into the target directory. Delete old or
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 26
-----------------------------------------------------------------------
exact duplicate files from the source
location. Replace newer duplicate files on
the target location. (/ME).
File Filtering? NEW & MORE RECENT FILES ONLY NEW
--------------- FILES PAUSE/ASK FOR EACH FILE
MARKED FOR BACKUP READONLY
HIDDEN SYSTEM
Indicate selection criteria for files to be
processed:
NEW -- Copy files that do not exist on the target
directory and files that exist but are
newer.
ONLY NEW -- Process files that do not already exist on
the target directory (/N)>
PAUSE/ASK -- Stop and prompt for approval before
processing each file (/P)/
MARKED BK -- Process files that have been modified sine
they were previously backed up (/A).
READONLY -- Process files that having their readonly
attribute set (/RO).
HIDDEN -- Process files that have their hidden
attribute set (/SF).
SYSTEM -- Process files that have their system
attribute set (/SF).
The second PCOPY menu. Access this menu by pressing <PgDn> from the
first PCOPY menu.
The second menu of PCOPY options
LIST FILES NOT PROCESSED
Show filenames matching the filename criteria, but were not
processed for other reasons. Indicates filename and the criteria
that caused it to be skipped (/WH).
SET DOS FILE CHANGED INDICATOR AFTER COPY
After copying the file reset the DOS attribute indicating the
file needs backup (/BA).
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 27
-----------------------------------------------------------------------
SET DOS FILE DATE TO TODAY AFTER COPY
After copying the file, set the date and time on the file to the
current date (/RD).
FILL OUTPUT DISKS EFFICIENTLY WITH BEST FIT
Process files in a sequence that will allow them to efficiently
fit on output diskettes. PCOPY will find files to completely fill
a disk before going on to additional disks (/FI).
ERASE OUTPUT DISKS BEFORE USING ERASE ON ALL BUT FIRST
Erase all files on target disks before copying files to them.
'ALL BUT FIRST' is normally used during backup to add files to
the first backup disk used (the last one used for the previous
backup run), and then erase all subsequent disks before copying
to them (/D- , /D2).
APPEND COPIED FILES TOGETHER IN ONE OUTPUT FILE
All files being copied are to be merged into one output file.
The output file is the filename specified on the target
specification (/AP).
FILES MAY BE DIVIDED INTO PARTS ACROSS DISKS
Split files onto multiple disks if there is not enough room on
the target diskette for the entire file to fit. See the /SP
command line parameter.
ASK FOR MULTIPLE INPUT DISKETTES
Causes PCOPY to ask for more input diskettes after the first
diskette is processed. Great when reading from a series of
diskettes (/MU).
DISABLE SOUNDS DURING PROCESSING
Disables speaker beeps normally sounded to inform the user some
action is needed (/SO).
The Third and last PCOPY menu
-----------------------------
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 28
-----------------------------------------------------------------------
Select files by size ===>
If a numeric value is specified, only files larger than (>), or
smaller than (<) the value are processed. The numeric value must
be preceded by < or > (/SZ:).
Select by date From Date: to Date:
If one or more dates are specified, only files having a date less
than or greater than the dates specified will be selected for
processing (/D:).
Stop when Source Drives freespace >
If a numeric value is specified, PCOPY will check the source
drive freespace before copying each file. If the drives
freespace is greater than the value specified, processing will
stop. Use with MOVE option to empty a disk up to a specified
level of freespace (/SS:).
Stop when Target Drives freespace <
If a numeric value is specified, PCOPY will check the target
drive's freespace before copying each file. If the freespace is
less than the value specified, processing will stop. Use to copy
files to a disk until it has less than n characters free (/ST:).
Duplicate Files: REPLACE SAVE OLD COPY ONLY DUPLICATES
Indicate how to process files that already exist on the target
directory.
REPLACE -- Overlay files regardless of date/time (/R).
SAVE OLD -- Rename the target file and then copy the source
file to the directory. The new name will have
a number placed in the files extension to
indicate the version of the file (/SA).
ONLY DUPs -- Select duplicate filenames for processing.
Ignore all other files (/E).
Networks: NO FILE SHARING COPY FILE BEING READ COPY ALL IN USE
When using PCOPY in network environments, indicate how PCOPY is
to proceed when files are found to be in use by other tasks in
progress.
NO SHARE -- Skip files in use
(/SHN).
READ -- Process files being
read by another task
(/SHR).
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 29
-----------------------------------------------------------------------
ALL -- Continue to process
any file already in
use (/SHA).
Process files in date sequence: ASCENDING DESCENDING
Process files in date sequence. Use to copy the most recent
files, or the oldest files to a target location (/SN, /SO).
WAYS TO USE PCOPY
-----------------
1. Copy files from floppy disk to hard disk
PCOPY is safer than DOS COPY when copying files your system. It
prevents you from accidentally replacing a file with another of the
same name.
When PCOPY encounters a duplicate file, it will stop and ask if
the file is to overlay the already existing one. You can tell
PCOPY to REPLACE or UPDATE files with /R and /U command line
parameters.
Following are samples of the simplest copy commands using PCOPY:
If you are copying to the current directory
on the hard disk:
PCOPY A:*.*
To copy to a specific directory:
PCOPY A:*.* \SPECDIR
2. Taking changed files from work to home
It is common to need to take files from home to work or
visa-versa. Since it is difficult to keep track of all the files
you may have updated, it is convenient to let PCOPY find the
updated files by copying all files updated within the last n days
to a diskette. You reduce copy time by not copying an entire
directory and are sure to get all newly changed files.
PCOPY *.* A:/d:3 <== updated last 3 days
PCOPY *.* A:/D:)1DEC90 <== After date
3. Copy files modified before/after a time
Sometimes the only way to identify recently changed files is by
using the time they were updated. PCOPY can select files by time
of day. You might use this option to determine what files were
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 30
-----------------------------------------------------------------------
updated after 5:00PM. Remember, with the /T TEST option, PCOPY
serves as a unique facility to locate and list files matching
your selection criteria. PCOPY's unique selection facilities can
be used to locate and list files. The /T option indicates to
scan disks and simulate processing but do not actually move or
change any data.
4. Quick move files to a new directory on the same hard disk
Moving files with DOS requires two commands. COPY the data, then
DEL the files from their original location. In addition to
requiring two commands it forces DOS to copy the data.
If the file is larger than the available freespace on the hard
disk, a copy of the data is not possible.
PCOPY moves files to new directories on the same disk without
having to physically copy the data. It simply moves the file
reference to a new directory. Even huge files move in an
instant!
PCOPY \OLDDIR\*.DAT \NEWDIR /X
5. Copy only duplicate files
To update a directory with duplicate files from another directory
or disk:
PCOPY \FROMDIR1 A:*.* /E
6. Copy multiple groups of file by extension names
Use PCOPY to process multiple file selection specifications with
a single copy command. Separate each with a comma.
PCOPY *.BAT,*.EXE,*.COM \EXEDIR
7. Copy files excluding files of one or more extension names
The OMIT feature lets you exclude files from processing using
command line specifications. It is commonly used to exclude
program files when copying to diskettes.
PCOPY *.* A: /O:*.EXE,*.BAT,*.COM
8. Copy files containing specific characters in their name
When you need to select or find files having a specific word in
their names, but the filenames do not begin with the word, PCOPY
can locate them.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 31
-----------------------------------------------------------------------
Copy all files having names containing the 3 consecutive
characters "ZIP".
PCOPY *ZIP*.* \ZIPFILES
9. Display files having specific name
Use PCOPY to find all occurrences of files by name on a disk.
PCOPY can scan a disk and display or process files from multiple
directories. The /S (SCAN) parameter causes PCOPY to search all
directories.
PCOPY *.DOC \TEST /S/T
10. Copy only newer files between disks and directories
One of the most common uses of PCOPY is to copy data between
diskettes and hard disks. Use the update (/U) parameter to make
sure only newer files are updated. Add the "WHY" (/WH) parameter
to cause PCOPY to show any files that were not processed. Note
that you can specify the target directory name without trailing \.
PCOPY A:*.* C:\NEWDIR /U/WH
11. Copy a disk including all directories to a new disk
PCOPY copies directories too. Simply specify the Directory Copy
parameter (/DC). The file will be copied to the same directory
name on the target drive. If the directory does not exist, it
will automatically be created for you. Adding the Scan (/S)
parameter causes PCOPY to scan all disks on the source drive.
Using a combination of /S/DC, you can copy all files and
directories from one disk to another.
Note, /DC only copies directories when files are to be copied
into them. This insures that unneeded directories are not also
copied. To copy every directory even if no files are copied,
specify the All Directory Copy (/DCA) parameter instead of /DC.
PCOPY A:*.* F: /DC/S
12. Copy a directory and all subordinate directories
To copy or move files from a directory and all its subordinate
directories use PCOPY's /DS parameter. The following example
scans the directory C:\WP and any subordinate directories to copy
all files having the extension name .TOM to a diskette.
PCOPY \WP\*.TOM A: /DS
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 32
-----------------------------------------------------------------------
13. Fill one or more diskettes from hard disk files
DOS COPY and XCOPY are unable to copy a set of files to multiple
diskettes. When the first diskette is full, they stop.
PCOPY is not limited to copying to a single diskette. It detects
when a disk is full and asks if the copy is to continue on to
additional output diskettes. PCOPY also makes maximum use of
diskette space.
When you are attempting to copy many files to diskettes for
backup or transporting, you want to use as few diskettes as
possible. The PCOPY Fill (/FI) parameter causes PCOPY to fill
output diskettes without wasting space. With the /FI parameter,
when PCOPY is unable to fit a file on an output diskette, it
saves that filename for later processing and searches for another
file that will fit on the disk. This results in significant
savings in diskettes and time to process them..
PCOPY C:\WP\*.* A: /FI
14. Copy files larger than a floppy disk to multiple diskettes
Unlike DOS COPY and XCOPY, PCOPY can copy files larger than a
diskette to multiple diskettes. This is accomplished by
splitting large files into multiple parts. PCOPY only splits
files when there is insufficient space on the output disk and
when the split parameter is specified. The Split (/SP) parameter
tells PCOPY it is OK to split large files. Following is an
example:
PCOPY C:\WP\*.* A: /SP/FI
To restore split files, simply use PCOPY to copy the files back
to a disk large enough to contain the entire file. PCOPY will
find the split files and automatically recombine them.
PCOPY A:*.* C:\WP /MU
15. Backup from hard disk to floppy disks
PCOPY is not a full backup system but its features allow it to be
used for backup processing. It is very effective for backing up
one hard disk to another. Following is a basic explanation of
backup procedures.
The most common backup technique is referred to as Incremental
Backup. This technique uses two different backup commands to
implement initial full backup, and daily incremental backup.
Incremental backup lets you avoid repeatedly backing up your
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 33
-----------------------------------------------------------------------
entire system each time you want to backup. Instead, the first
time you backup, you copy your entire system to disks. Then, each
subsequent day (or other backup period) you only backup the files
that have changed since the previous backup. If you are like
most users, your "daily" backups will require only a couple of
minutes because you only modified a small portion of your files
since you last backed up.
A special DOS maintained file archive attribute supports
incremental backup. The flag is an indicator field that is kept
by DOS in each files directory entry. It is stored along with
file date, time and size information. Whenever DOS, or an
application, creates or changes a file, this archive attribute
flag is set to indicate the file needs to be backed up. Programs
that support backup use this flag to distinguish between files
that need backup, and those that have already been backed up.
Whenever a program backs up a file, it should reset the flag to
indicate backup has been done. Then, incremental backup
processing will know to skip the file and not back it up again
until it has changed.
Following is an example of using PCOPY to backup hard disk C: to
diskettes in drive A:.
Full Backup
First we will show the PCOPY command to make the first backup.
PCOPY C:*.* A: /DC/S/D-/A/LG/FI
The above command causes PCOPY to copy all files on drive C: to
drive A:. /DC and /S causes directory names to be copied to the
target drive and makes PCOPY backup from all directories. Since
this is the first backup, /D- is included to force all files on
drive A; to be deleted prior to the copy. /A causes PCOPY to
reset the DOS archive flag on each processed file to show the
files were backed up. The /LG parameter asks PCOPY to write a
log record to PCOPY.LOG for each file written. The log file can
be used to locate the diskette containing a file to be restored.
/FI causes PCOPY to fill all disks efficiently and make optimum
use of diskette space.
This command should only be run for the first backup.
INCREMENTAL BACKUP (Daily backup)
The following command causes PCOPY to scan your disk to find
files that have changed since your previous backup, and add them
to your already started set of backup diskettes.
PCOPY C:*.* A: /DC/S/D2/A/LG/FI/B
The incremental backup command is almost the same as the full
backup except for two parameters. The /B parameter causes PCOPY
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 34
-----------------------------------------------------------------------
to only process files that have the archive (backup) attribute
set. Processing will be confined to changed files. /D2 is used
in place of /D-. /D2 indicates that PCOPY is to append files to
the first backup disk and then to erase all files before reusing
any additional diskettes.
After running your full backup, keep track of the last diskette
written to. This will be the first disk provided for the next
Incremental Backup. Label a set of backup disks and number them
sequentially. Use a specially marked diskette sleeve for storing
the last disk used. This will make it easy to identify when
running backup again.
Restoring files from backup disks
Use PCOPY to restore any file from the backup disks. The
PCOPY.LOG file contains a complete list of all backups done. You
can examine this file to determine if and when a file was backed
up. Then use the following PCOPY command to restore any files.
PCOPY A:filename.ext C: /MU/DC/S
16. Combine one or more files to a single new file
Use PCOPY to combine two DOS text files into a single output
file. The following command copies two files to a single file,
DOS.TXT. The append parameter causes them to be concatenated
together.
PCOPY DOC.TX1,DOS.TX2 DOS.TXT /AP
17. Copy and save duplicate files with a new generated name
Use PCOPY when you need to copy updated files to diskettes that
already contain previous versions of the same files. The /SA
parameter indicates PCOPY is to save old versions of files by
renaming them with version numbers in their extension names.
PCOPY.C would be renamed to PCOPY.C01 before a new PCOPY.C is
copied to the same diskette.
PCOPY \UPDATES \CSOURCE /R/SA
18. Merge two directories
Use PCOPY to move all files from one directory to another making
sure the most current version of files in both directories are
kept.
Merging files from one directory into another involves three
actions. First PCOPY moves files from the source directory that
do not already exist on the target directory. Second, it moves
newer duplicate files to the target directory. Third, it deletes
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 35
-----------------------------------------------------------------------
files from the source directory that were not copied to the
target directory.
PCOPY \fromdir \todir /ME
19. Execute any command with selected files as parameters
Since PCOPY has file selection capabilities not available in
other programs it can be used to select files to be processed by
other commands and applications. For example, the following
command will start an EDIT command for all P*.C files found by
PCOPY. With the /CD parameter, PCOPY only starts other commands.
It does not copy or move data.
PCOPY P*.C /CD:EDIT[#
20. Search multiple directories for files to copy
Use PCOPY to scan a set of directories and copy files to a new
location. This is useful if you are not sure of exactly what
directory a file name exists in or if files from multiple
directories are to be copied. Use the /S or /DS parameter.
Here is a sample command:
PCOPY LOOKFOR.ZIP A: /S/DR:CDE
21. Delete files on target disk and copy files to it
You may keep a work diskette handy by your machine to use to
transport files between home and office. Use the /D- command
with PCOPY to erase any old files on the disk before copying new
files to it. This saves you from having to use a delete command
and press Y to delete all files. The following command will
erase the disk in drive A: and then copy files to it.
PCOPY PW*.C A:/D-
22. Restarting a previously incomplete copy
Sometimes it is necessary to stop a copy and start again at a
later time. Even with a single diskette the DOS COPY command is
unable to resume processing from a specific filename. The PCOPY
/F:filename.ext parameter provide PCOPY with a starting filename.
The following command copies all files from PCOPY.C in a
directory to diskette drive A:
PCOPY *.* A: /F:PCOPY.C
If you are referring to a hard disk, you do not need the /F
command to resume processing. Simply specify the /U parameter.
PCOPY will skip all files previously copied and start when the
first uncopied file is reached.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 36
-----------------------------------------------------------------------
23. Freeing disk space by copying files to archive disks
When your hard disk becomes full, you can use PCOPY to locate
old files and move them to diskettes for archival storage.
The following command finds files in the ARCHIVE directory
that are older than a specified date, and move them to
diskette. Include the /SS:nnn command to stop processing when
sufficient freespace is available on the hard disk.
PCOPY \ARCHIVE A: /X /D:(1jan89 /ss:1000000
24. Transporting an entire disk to another computer
Copying one disk and all its subdirectories to another disk is
easy. The first command copies all files to diskettes. The
second command copies the files and directories from the
diskettes back to any hard disk.
PCOPY C:*.* A: /DC /S /FI
PCOPY A:*.* C: /DC /S
25. Determine differences between files in two disks
One of the most useful functions of PCOPY does not copy files at
all. To compare and report the differences between files on a
diskette and the files on a hard disk directory, use the PCOPY
command in test mode.
PCOPY A:*.* \DIRNAME /U/WH/T
The /T parameter indicates test mode, no copy or move is to be
done. The /U indicates to update any newer files. The /WH
indicates to show why any files would not be copied. The
resulting display shows the new files, which are newer versions,
and what files are already on the drive as duplicates. It will
also indicate what files are older copies of the same filenames.
26. Keeping files on two computers in synchronization
The /DY synchronization parameter indicates PCOPY is to make the
target directory contain the same files as the source
specification. It saves time by only copying files needed. An
important feature is its ability to remove any files from the
target drive that are not on the source drive being copied from.
This command is especially useful for transporting files from
work to home and home to work using diskettes. A quick command
at the end of each day will copy the files and remove deleted
ones.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 37
-----------------------------------------------------------------------
PCOPY \WORDPROC\*.* A: /DY Work to diskette
PCOPY A:*.* C:\WORDPROC /DY disk to home
27. Saving generation backup copies of a files
Products that backup files before changing them often do not
consider situations when a user stops and starts an application
many times between backups. Unless multiple backup files are
maintained, good versions of a file can be lost when good backup
versions are replaced with bad versions.
Since PCOPY can create backup files with consecutively numbered
names, you never lose a backup version. Just use PCOPY to make a
copy of the file(s) to a backup directory before starting your
application.
PCOPY %1 \BACKUP/SA/NW/U Make backup
123 %1 <=== Start application
After you next backup your system, delete the PCOPY backup
versions to free space on your hard disk. Use PDEL delete
utility to delete all files in the BACKUP directory without being
prompted to confirm the delete request.
After Backup:
PDEL \BACKUP\*.*/NC Erase backup directory
28. Quickly copying files from one diskette to another
Since multiple floppy drives on a system cannot be accessed at
the same time, it is very inefficient to copy files from one
floppy disk to another. Instead, create a temporary directory on
your hard disk and first copy the files to the hard disk
directory. Then move them from the hard disk directory to the
output diskette. This greatly reduces copy time by avoiding
multiple stopping and starting of floppy drives. If you can use
a ram disk as an intermediate drive, the copy will be very fast.
MD C:\TEMP
PCOPY A:*.*/NW
PCOPY C:\TEMP B:/X/NW
RD C:\TEMP
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 38
-----------------------------------------------------------------------
Site licensing plans for one or more Patriquin utilities:
---------------------------------------------------------
1. Site licensing fees are as follows:
The first five copies of any or all utilities are
purchased at full price. If all utilities are
purchased, printed documentation is included for these
first 5 copies.
All additional copies of any utility or complete
package are 1/3 off the normal price.
You pay a maximum of $2000.00 to register any
individual utility or $4500.00 for all utilities, for
an entire site. This gives your installation rights to
copy and distribute the utilities to anyone at your
site. This also allows "at-home" use of any utility
for any person at the site.
A site is a company location in one city. A location
in another city is considered a second site.
If a utility is placed on a LAN, each regular user of a
utility placed on the LAN should be registered. Use
your own good judgement here.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 39
-----------------------------------------------------------------------
VISA / Mastercard / Telephone Registration
------------------------------------------
You may place a telephone order for the utilities using your credit
card by calling Nelson Ford's Public (Software) Library.
Telephone orders: 800-242-4775 or 713-665-7017
The PSL supplies Shareware software at a nominal cost to its
customers. Consider them for all your Shareware needs.
---- OR ------
You may call the Patri-Soft BBS and register online. The number
is (909) 352-2825 1200/14000 8-N-1. Fill out script 2 to place
your order. Credit card orders are also accepted through U.S. Mail.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 40
-----------------------------------------------------------------------
REGISTRATION
------------
Patri-Soft provides full support to users, both registered and
non-registered. We provide support through several different way:
U.S. Mail - You may send us problem reports through
the mail. Any extended information that
you can provide is greatly appreciated.
(i.e. screen shots, the actual problem
file, etc).
Telephone - You may contact us at (909) 352-2820 to
discuss problems. However, extended
telephone support is limited as the
circumstances require.
CIS - You may contact us on CompuServe
(76347,2477). This is usually the
fastest way.
A BBS is in operation 24 hours a day to take your enhancement
requests and problem reports. The number for this is
(909) 352-2825. (1200/14000 8-N-1). Extended access is
provided to registered users of the utilities.
Patri-Soft offers a money back guarantee if you are not satisfied
with the software. Simply contact us with the reasons of your
dissatisfaction, and we will gladly refund your money.
We at Patri-Soft pride ourself on our user support. If for
some reason you feel that you have not gotten the service you
deserve, PLEASE let us know. We try to respond to ALL users
quickly and politely.
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 41
-----------------------------------------------------------------------
Registered PCOPY 9.2 Order Form
--------------------------------------------------------------------
VISA/Mastercard orders are also accepted through telephone orders.
Call Public Software Library: 800-242-4775 or 713-665-7017 to order.
--------------------------------------------------------------------
_____ Registration of all Patriquin Utilities with
program disk and User's Guide....................@ $45.00
_____ Update Service -- in addition to above, send the
next version automatically when it is available....@ +$15.00
--------------------------------------------------------------------
_____ PCOPY -- File Copy, Move, Backup, Update, more!...$20.00
_____ PSEARCH -- Locate files on your disk. Outstanding!..$20.00
_____ PDELETE -- Save space with automatic disk cleanup...$20.00
_____ PPRINT -- Advanced file print w/special formats....$20.00
_____ PALERT -- Warns you of low disk space..............$15.00
_____ PATTR -- Manage attributes of DOS files...........$10.00
_____ PDAILY -- Automatically execute commands once/day..$10.00
_____ Update a registered set with new disk and manual -
show proof of previous registration SER=_________....$15.00
_____ Shipping/Handling for orders outside USA, add ........$ 5.00
Total amount of my order is: $________
Method of Payment:
____ Check or money order (Made out to Patri-Soft)
____ Visa or Mastercard
Card number ___________________________ Exp. Date __________
Signature: __________________________________________________
Disk Size (circle one)? 5 1/4 3 1/2
===================================================================
Name: __________________________________________________
Company: _______________________________________________
Address: _______________________________________________
_______________________________________________
City: ________________________ State: ________ Zip: __________
I learned about PCOPY from: _____________________________________
Send order to: Patri-Soft 5225 Canyon Crest Dr, Suite 71-358,
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 42
-----------------------------------------------------------------------
Riverside CA, 92507
PCOPY Version 9.3 July 1993 Copyright 1993 by Patri-Soft Pg. 43
-----------------------------------------------------------------------
Reporting Problems (PCOPY 9.2)
I welcome all comments or enhancement suggestions. Please document
each item clearly and provide printed examples, if possible. Please
be sure to include this form with all requests. It will help to
make sure we can provide you with the best possible service.
Name: __________________________________________________________
Company: _______________________________________________________
Address: _______________________________________________________
_______________________________________________________
City: __________________________________ State: _______________
Zip: ______________________________
Telephone: _______ / ________________________ (Home / Work)
Date: _________________________ Machine Type:_______________
Name of Utility: _______________________ DOS Level: ____________
Description of problem or enhancement:
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
Suggested solution:
________________________________________________________________
________________________________________________________________